<?php
	include 'DBController.php';

	$content = $_GET['sentence'];
	$meaningIndex = $_GET['meaningIndex'];
	$meaningId = $_GET['meaningId'];
	$wordId = $_GET['wordId'];
	updateWordEditTime($wordId);
	
	$sentence = new Sentence();
	$sentence->setContent($content);
	
	$sentence = addSentence($sentence, $meaningId);
	
	$sentenceId = $sentence->sentenceId;
	
	echo $content."||".$sentenceId."||".$meaningIndex;
?>